package com.wangjw.seckill.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by wangjw on 18/1/11.
 */
public class ValidatorUtil {

    private static final Pattern mobile_patten = Pattern.compile("1\\d{10}");

    public static boolean isMobile(String mobile) {
        Matcher matcher = mobile_patten.matcher(mobile);
        return matcher.matches();
    }
}
